
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import './assets/styles/index.scss'
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import SvgIcon from '@/components/SvgIcon.vue'
import 'virtual:svg-icons-register'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
import "./flexble.js"
// import VueAnimateNumber from 'vue-animate-number'
import 'nprogress/nprogress.css'
import {onMounted} from "vue"


const app = createApp(App)
import AnimatedNumber from 'animated-number-vue3'
app.use(AnimatedNumber)
app.use(Antd)


const piniali = createPinia()
app.use(piniali)
app.use(ElementPlus, {
  locale: zhCn,
})
app.use(router)
app.component("svg-icon", SvgIcon).mount("#app");
// app.mount('#app')
